home *** CD-ROM | disk | FTP | other *** search
- Short: Shutdown command
- Author: fasten@shw.com (Bernhard Fastenrath)
- Uploader: fasten@shw.com (Bernhard Fastenrath)
- Version: 5.3
- Type: util/libs
-
- Changes since 5.2:
- - Added a new program testfs which allows to identify handlers which
- are incompatible with shutdown.
- testfs prints a list of all handlers and if they are filesystems
- or not. If a handler doesn't react at all testfs will hang.
- The same happens to shutdown when it tries to unmount filesystems.
- Changes since 5.1:
- - minor changes.
- Changes since 5.0:
- - GCC support fixed (thanks to Gunther Nikl for the bug report).
- Changes since 4.1:
- - Incompatible change to the message format (due to changes in queue.library).
- Out of date clients will simply refuse messages.
- Out of date servers (the shutdown command) will make clients report
- a random shutdown time (reading illegal memory addresses).
- - Compiled with SAS/C 6.57.
- Changes since 4.0:
- - Applications can delay the shutdown now (see src/delay.c).
- Changes since 3.0:
- - unmount.c rewritten to send ACTION_INHIBIT to all filesystems at the
- same time (instead of sequentially).
- - compiled with SAS/C instead of GCC (which makes it a bit smaller).
-
- The Amiga's lack of a shutdown mechanism is probably based on the assumption
- that the user is always the direct cause of disk access or at least aware of
- the fact that the disks might be accessed at a certain point.
- Unfortunately this is obviously not true for BBS systems or Amigas connected
- to a LAN or in some other way running in a multiuser environment. It is also
- not true for Amigas acting as servers or Amigas doing longer calculations
- (e.g. rendering) in the absence of a console user. There's also still the
- small chance that the user thinks the disks are idle and it's safe to turn of
- the system and a background program chooses this moment to start disk activity.
-
- ResetHandler (AmiNet://util/cdity/ResetHandler.lha) executes
- s:shutdown-sequence after a keyboard reset. If you want to call shutdown
- from s:shutdown-sequence make sure to use the "-i" option to shut down
- as fast as possible.
-
- This shutdown command requires queue.library (which is included). The full
- archive is AmiNet:util/libs/queue.lzh. It can be used with but does not
- require shutdown.library (AmiNet:util/boot/Shutdown2_0.lha). The original
- shutdown.library was written by Olaf Barthel (olsen@sourcery.han.de).
- A small library which is compatible with Olaf's shutdown.library is included.
- This is not an update to the original shutdown.library but a full update
- might follow.
-
-
- ============================= Archive contents =============================
-
- Original Packed Ratio Date Time Name
- -------- ------- ----- --------- -------- -------------
- 10512 6620 37.0% 12-Sep-98 19:36:18 +sdwarn
- 13120 8053 38.6% 12-Sep-98 19:36:18 +shutdown
- 6600 4433 32.8% 12-Sep-98 19:36:18 +testfs
- 1069 330 69.1% 12-Sep-98 19:36:44 +REGISTRATION
- 28987 10710 63.0% 12-Sep-98 19:36:44 +shutdown.guide
- 2836 1596 43.7% 12-Sep-98 19:36:32 +queue.library
- 1456 898 38.3% 12-Sep-98 19:36:32 +shutdown.library
- 2543 1222 51.9% 12-Sep-98 19:46:58 +shutdown.readme
- 1807 749 58.5% 12-Sep-98 19:36:18 +delay.c
- 434 231 46.7% 12-Sep-98 19:36:18 +makefile
- 462 295 36.1% 28-Nov-96 15:47:54 +queue.fd
- 898 463 48.4% 28-Nov-96 15:47:40 +queue.h
- 1241 417 66.3% 28-Nov-96 15:47:28 +queue_inline.h
- 643 292 54.5% 28-Nov-96 15:47:22 +queue_pragmas.h
- 2211 940 57.4% 28-Nov-96 15:27:54 +shutdown.h
- 6618 2296 65.3% 12-Sep-98 19:36:18 +sdwarn.c
- 13643 4151 69.5% 12-Sep-98 19:36:18 +shutdown.c
- 938 405 56.8% 12-Sep-98 19:36:18 +shutdown_cmd.h
- 467 280 40.0% 04-Dec-96 19:05:20 +makefile
- 2392 1297 45.7% 04-Dec-96 19:06:10 +shutdown.library
- 938 393 58.1% 03-Dec-96 02:27:52 +shutdown_inline.h
- 176 129 26.7% 13-Jan-96 22:20:34 +shutdown_lib.fd
- 4934 1729 64.9% 04-Dec-96 19:35:40 +shutdown_library.c
- 210 110 47.6% 22-Sep-96 12:06:12 +shutdown_pragma.h
- 697 322 53.8% 03-Dec-96 00:40:42 +shutdownbase.h
- 371 208 43.9% 22-Sep-96 12:10:50 +smakefile
- 457 220 51.8% 12-Sep-98 19:36:18 +smakefile
- 4235 1478 65.1% 12-Sep-98 19:36:18 +testfs.c
- 4549 1511 66.7% 12-Sep-98 19:36:18 +unmount.c
- -------- ------- ----- --------- --------
- 115444 51778 55.1% 14-Sep-98 00:56:36 29 files
-